//microcommand define brolermorna
const execa = require("execa")
const { resolve } = require("path")
signature("<text:rawtext>", {
  showWarnings: true,
  checkArgCount: true,
  checkUnknown: true,
})
action(({}, text) => {
  return execa("python3", [resolve(ctx.baseDir, "assets/bin/brolermorna.py")], {
    input: text,
    env: {
      PYTHONIOENCODING: "utf-8",
    },
  }).then(
    ({ stdout }) => h.escape(stdout),
    err => h.text(String(err))
  )
})
locale("zh-CN", { description: "YSPKPQZ 逻辑语希伯来转写" })